#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
import time
from threading import Thread

def test(name):
    print("开启线程:  {}".format(name))
    time.sleep(1)
    print("子线程: {} 结束".format(name))

if __name__ == '__main__':
    t = Thread(target=test, args=("线程2", ))
    t.start()
    print("master")
